package com.by.common.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

@Data
@ApiModel("分页Bean")
public class Page {

    @ApiModelProperty("当前页面，默认显示第1页")
    int page=1;
    @ApiModelProperty("每页记录数，默认每页10条记录")
    int pageSize=10;
}
